Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODUndo


AbortCurrentTransaction

The AbortCurrentTransaction method removes the current transaction (and any nested transactions) from the action history.

void AbortCurrentTransaction ();
DISCUSSION
This method aborts a transaction that is being placed in the undo stack by removing all single actions up to and including the last begin action. If there is a nested transaction in the current transaction, it is entirely removed. This method in turn calls your part's UndoAction method to give your part the opportunity to perform any reverse editing necessary to restore itself to the state it possessed before the transaction began.

SEE ALSO
The ODPart::UndoAction method (page 549)
"Clearing the Action History" on page 262 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help